Fatal error: Uncaught Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-12,12' at line 30<br />Error No: 1064<br />
SELECT
p.post_id,
p.image,
p.date_created as date,
p.views,
pd.name,
pd.description,
a.username,
a.firstname,
a.lastname,
a.email,
(
SELECT count(*)
FROM `oc_journal3_blog_comments` bc
WHERE
bc.status = 1
AND bc.post_id = p.post_id
AND bc.parent_id = 0
) as comments
FROM
`oc_journal3_blog_post` p
LEFT JOIN
`oc_journal3_blog_post_description` pd ON p.post_id = pd.post_id
LEFT JOIN
`oc_journ in /srv/provns.eu/system/library/db/mysqli.php on line 40